<?php include ('./data/beipy.inc.php');
error_reporting(0); ?>
<!DOCTYPE html>
<html lang="ch">
	<head>
		<meta charset="utf-8" />
		<title>技术文章 - 全网vip视频解析</title>
		<meta name="keywords" content="视频解析天下,vip视频天下,vip视频解析,vip视频在线解析,资源网,qq业务乐园,技术导航" />
		<meta name="description" content="本站为广大网友提供解析服务，并打造国内第一家视频资源网一体化站点，为各大网友提供最快捷的视频、技术、文章服务。" />
		<meta name=viewport content="width=device-width,anicital-scale=1">
		<link rel="stylesheet" href="css/bootstrap.css" />
        <link rel="stylesheet" href="layui/css/layui.css">
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/base64.min.js"></script>
		<script type="text/javascript" src="js/bootstrap.js"></script>
		<!--微博引入关注插件-->
		<link rel="stylesheet" href="css/style.css" />
		<!--浏览器标签ico-->
		<link rel="shortcut icon" href="img/favicon.ico" />
		<!--书签标签-->
		<link rel="bookmark" href="img/tvico.png" />
		<!--苹果桌面标题-->
		<meta name="apple-mobile-web-app-title" content="全网VIP解析">
		<!--苹果桌面图标-->
		<link rel="apple-touch-icon-precomposed" sizes="180x180" href="img/tvlogo.png">
        <style type="text/css">
            .col_ul{
                border-right: 1px solid #F6F6F6;
                width: 180px;
                overflow: hidden;
            }
            .col_ul li{
                margin-bottom: 15px;
                text-align: center;
            }
            .col_ul li .hover{
                background: #5ab0ec;
                color: #FFF;
            }
            .col_ul li a{
                height: 55px;
                line-height: 55px;
                display: block;
                font-size: 15px;
                overflow: hidden;
                cursor: pointer;
                color: #333;
                transition: 0.2s all;
            }
            .col_ul li a img{
                height: 18px;
                width: 18px;
                vertical-align: middle;
                margin-top: -3px;
                margin-right: 12px;
            }
            .updatetitle div{
                font-size: 15px;
                height: 55px;
                line-height: 55px;
                color: #333;
                padding-left: 20px;
            }
            .updatelist{
                position: relative;
                margin-top: 20px;
                min-height: 600px;
            }
            .updatelist li{
                padding: 15px 0px;
            }
            .updatelist li div{
                font-size: 15px;
                height: 35px;
                line-height: 33px;
                color: #333;
                padding-left: 10px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }
            .updatelist li .new-time{
                color: #F94C30;
            }
            #pagestart{
                text-align: center;
                margin-top: 20px;
                margin-bottom: 15px;
            }
            .titleicon{
                width: 26px;
                padding: 4px;
            }
        </style>
	</head>
	<body>
	<header class="navbar-fixed-top">
			<div class="container">
				<nav class="navbar navbar-default">
					<div class="container-fluid">
						<!-- 手机自适应样式 -->
						<div class="navbar-header">
							<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
			        <span class="sr-only">导航切换</span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			      </button>
							<!--logo图标-->
							<a class="navbar-brand logo" href="/"></a>
						</div>
						<!-- pc导航样式 -->
						<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
							<ul class="nav navbar-nav">
								<li>
									<a href="/" target="_blank">官网</a>
								</li>
								<li>
									<a href="https://gitee.com/jishudaquan/vipVideo" target="_blank"><span class="badge" style="background: #24292e;margin-right:5px;">Git</span>开源程序<span class="sr-only">(current)</span></a>
								</li>
								<?php echo $aik['topnav'];?>
							</ul>
							<!--导航 右侧-->
							<ul class="nav navbar-nav navbar-right">
								<li class="dropdown">
									<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">关于版本<span class="caret"></span></a>
									<ul class="dropdown-menu">
										<li>
											<a><p>版本号：V<?php echo $aik['version'];?></p></a>
										</li>
									</ul>
								</li>
							</ul>
						</div>
					</div>
				</nav>
			</div>
		</header>
        <div class="layui-container" style="margin-top: 90px;">
            <div class="layui-row">
                <div class="layui-col-md2 layui-hide-xs">
                    <ul class="col_ul">
                        <li>
                            <a href="" class="hover">
                                <img src="//static.daohangtx.com/static/img/lie.png">
                                全部更新
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="layui-col-md10">
                    <div class="layui-row updatetitle">
                        <div class="layui-col-md2 layui-hide-xs">来源网站</div>
                        <div class="layui-col-md6 layui-col-xs6">教程名称</div>
                        <div class="layui-col-md2 layui-col-xs3">更新时间</div>
                        <div class="layui-col-md2 layui-col-xs3">操作</div>
                    </div>
                    <ul class="updatelist">
                        <?php
                            require_once 'NetHttpRequst.php';
                            $arr = ['page'=>$_GET['page'] == '' ? '1' : $_GET['page'],'search_val'=>'','collect_id'=>''];
                            $content = NetHttpRequst::curl_file_post_contents('http://www.daohangtx.com/api/upd_page.html', $arr);
                            $data = json_decode($content,true);
                            foreach ($data['data'] as $key => $value){
                                echo "<li>";
                                echo "<div class='layui-row'>";
                                echo    "<div class='layui-col-md2 layui-hide-xs'><img src='//www.daohangtx.com{$value['icon']}' class='titleicon' />{$value['c_title']}</div>";
                                echo    "<div class='layui-col-md6 layui-col-xs5'>{$value['r_title']}</div>";
                                $new_time = $value['upd_time'] == date("Y-m-d") ? 'new-time' : '';
                                echo    "<div class='layui-col-md2 layui-col-xs4 {$new_time}'>{$value['upd_time']}</div>";
                                $url = urlencode("{$value['url']}");
                                $title = urlencode("{$value['r_title']}");
                                echo    "<div class='layui-col-md2 layui-col-xs3'><a href='/info.php?url={$url}&t=$title' target='_blank' class='layui-btn layui-btn-primary layui-btn-sm'>进入</a></div>";
                                echo "</div>";
                                echo "</li>";
                            }
                        ?>
                    </ul>
                    <div id="pagestart"></div>
                </div>
            </div>
        </div>
        <?php  include 'footer.php';?>
        <script type="text/javascript" src="js/tv-beipy.js" /></script>
        <script type="text/javascript" src="layui/layui.js" /></script>
        <script type="text/javascript">
            layui.use('laypage', function() {
                var laypage = layui.laypage,
                device = layui.device(),
                options = {
                        elem: 'pagestart'
                        , count: <?php echo $data['count']?>
                        , theme: '#1E9FFF'
                        , curr: <?php echo $_GET['page'] == '' ? '1' : $_GET['page'] ?>
                        , limit: 15
                        ,jump: function(obj, first){
                            if(!first){
                                window.location.href = "/list.php?page=" + obj.curr;
                            }
                        }
                    };
                if(device.weixin || device.android || device.ios){
                    options.layout = ['prev', 'next'];
                }
                //自定义样式
                laypage.render(options);
                /*获取当前时间段*/
                function getTime(){
                    var now = new Date();
                    var year = now.getFullYear();       //年
                    var month = now.getMonth() + 1;     //月
                    var day = now.getDate();            //日
                    var hh = now.getHours();            //时
                    var mm = now.getMinutes();          //分
                    var ss = now.getSeconds();           //秒
                    if(month < 10)  month = "0" + month;
                    if(day < 10) day = "0" + day;
                    if(hh < 10) hh = "0" + hh;
                    if (mm < 10) mm = "0" + mm;
                    if (ss < 10) ss = "0" + ss;
                    return year+"-"+month+"-"+day;
                }
            });
    </script>
	</body>
</html>
